<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%request.setCharacterEncoding("UTF-8");%>
<jsp:useBean id="Ps" class="com.example.javabeantest.javaBeanSamples.Person" scope="page"/>
<jsp:setProperty name="Ps" property="*" />
姓名:<jsp:getProperty name="Ps" property="name"/><BR>
性别:<jsp:getProperty name="Ps" property="sex"/><BR>
年龄:<jsp:getProperty name="Ps" property="age"/><BR>
</body>
</html>